package com.dss.auto_deploy.event;

import com.dss.auto_deploy.domain.Deploy;
import org.springframework.context.ApplicationEvent;

/**
 * @Description: 普通maven编译完毕事件
 * @author: dongshoushan
 */
public class UploadAndStartEvent extends ApplicationEvent {
    private Deploy deploy;
    private String[] split;

    public UploadAndStartEvent(Deploy deploy, String[] split) {
        super(deploy);
        this.deploy = deploy;
        this.split = split;
    }
    public Deploy getDeploy() {
        return deploy;
    }

    public String[] getSplit() {
        return split;
    }
}
